#ifndef LOGGER_H
#define LOGGER_H
#include <QDir>
#include <iostream>
#include <string>
#include <glog/logging.h>

#define CONFIG_FILE_PATH "./chargeRobot/sysConfig.ini"
int read_ip_port_ini(char *pFile,char *pName,std::string& ip, int& port);

int init_log();
std::string bufToHexStr(const char *pBuf, int bufLen);

#endif // LOGGER_H
